package com.imooc.news_manager_project.service;

import com.imooc.news_manager_project.common.Result;
import com.imooc.news_manager_project.domain.Comments;
import com.imooc.news_manager_project.dto.CommentsDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ICommentService {
    List<Comments> getAllComments();

    Result save(HttpServletRequest request, CommentsDTO commentsDTO);

    Result getAllNewsComments(String id);

    Result getReplyComments(String id);

    Result removeComments(String id);

    Result likesById(HttpServletRequest request, String id);
}
